//
// Created by 15068 on 2021/5/4.
//
#include <vm.h>

int main(int argc, char* argv[]) {
    if (argc < 2) {
        fprintf(stderr, "Error: image file unspecified.");
        return -1;
    }
    else if (argc > 2) {
        fprintf(stderr, "Error: too much arguments.");
        return -1;
    }
    else {

    }
    auto* lc3vm = new LC3VM(argv[1]);
    lc3vm->start();

    return 0;
}

